package com.domain;

public class Comment {
    private int id;
    private String nike;        //nikename
    private String email;       //email
    private String content;     //comment
    private String sendtime;    //sendtime
    private Blog blog;          //在哪一个blog下发送的comment
    private Integer delete;     //是否已删除（0：否，1：是）

    @Override
    public String toString() {
        return "Comment{" +
                "id=" + id +
                ", nike='" + nike + '\'' +
                ", email='" + email + '\'' +
                ", content=" + content +
                ", sendtime=" + sendtime +
                ", blog=" + blog +
                ", delete=" + delete +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getNike() {
        return nike;
    }

    public void setNike(String nike) {
        this.nike = nike;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSendtime() {
        return sendtime;
    }

    public void setSendtime(String sendtime) {
        this.sendtime = sendtime;
    }

    public Blog getBlog() {
        return blog;
    }

    public void setBlog(Blog blog) {
        this.blog = blog;
    }

    public Integer getDelete() {
        return delete;
    }

    public void setDelete(Integer delete) {
        this.delete = delete;
    }
}
